package com.study.mapper;


import com.study.pojo.Employee;

import java.util.List;

public interface EmployeeMapper {
    //查询全部的员工信息
    List<Employee> getAll();

    //通过ID查询员工
    Employee getEmployeeById(int id);

    //通过ID删除员工
    int deleteById(int id);

    //增加一个员工
    int save(Employee employee);

    //修改员工
    int updateEmpById(Employee employee);
}
